package com.mohan.dlxj.common;

/**
 * Created with IntelliJ IDEA.
 * User: admin
 * Description: 此类是统一响应实体类
 * Version: V1.0
 */
public class R<T> {
    private Integer code; //状态码
    private String msg; //返回消息
    private T data; //返回数据

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
